package com.ems.service.Invigilate.room;

import com.ems.pojo.Invigilate.room.TestRoom;
import com.ems.pojo.user.User;

import java.util.List;
import java.util.Map;

/**
 * @Auther: 伟伟
 * @Date: 2020/2/18
 * @Description: 描述
 * @Version: 1.0
 */
public interface TestRoomService {
    public void addTestRoom(TestRoom testRoom);

    public void deleteTestRoom(List<TestRoom> list);

    public void updateTestRoom(TestRoom testRoom);

    public List<TestRoom> selectTestRoom(Map<String,Object> map,User user);

    public List<TestRoom> selectUnRoomUser(Map<String,Object> map,User user);

    public List<TestRoom> selectAllTestRoomById(User user);

    public TestRoom selectTestRoomById(TestRoom testRoom);

    public TestRoom getTestRoomByPwd(TestRoom testRoom);

    public void deleteTestRoolById(User user);

}
